package com.dingreading.cloud.admin.dto.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import lombok.Data;

import java.io.Serializable;

@Data
@HeadRowHeight(20)
@ContentRowHeight(20)
@ColumnWidth(17)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 11)
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class WhStockInVo implements Serializable {


    @ExcelProperty(value = "入库类型")
    private String inType;

    @ExcelProperty(value = "采购订单号")
    private String purchaseCode;

    @ExcelProperty(value = "入库订单号")
    private String inCode;

    @ExcelProperty(value = "供应商名称")
    private String supplierName;

    @ExcelProperty(value = "商品名称")
    private String goodsName;

    @ExcelProperty(value = "商品规格名称")
    private String goodsTypeName;

    @ExcelProperty(value = "采购商品单价")
    private Double unitPrice;

    @ExcelProperty(value = "入库数量")
    private Integer realNum;

    @ExcelProperty(value = "剩余库存数量")
    private Integer usableNum;

    @ExcelProperty(value = "创建人姓名")
    private String creator;

    @ExcelProperty(value = "状态名")
    private String statusName;

    @ExcelProperty(value = "添加时间")
    private String addTime;

}
